package com.ftg.learn.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ftg.learn.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author kangjx
 * @since 2022-09-30
 */
@Data
@TableName("sys_user")
@ApiModel(value = "用户对象", description = "用户表")
public class User extends BaseEntity {

    /**
     * 帐号
     */
    @TableField(value = "u_account")
    @ApiModelProperty("账号")
    private String uaccount;

    /**
     * 密码
     */
    @TableField(value = "u_password")
    @ApiModelProperty("密码")
    private String upassword;

    /**
     * 员工表主键
     */
    @TableField(value = "e_id")
    private Integer eid;


}
